package com.gf.framework.xxljobdemo.controller;

import io.swagger.annotations.Api;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author gaofei
 * @date 2022/5/23 20:33
 */
@RestController
@Api(tags = "xxl-job测试")
@EnableScheduling
public class XxlJobAddController {
    @GetMapping("hello")
    public String hello() {
        return "hello";
    }
}
